package iut.acy.cut4u.ihm;
import java.awt.Color;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;

import javax.swing.JTextField;
import javax.swing.border.LineBorder;

public class JTextFieldObligatoire extends JTextField implements Obligatoire {
	
	public JTextFieldObligatoire()
	 {this("");}
	public JTextFieldObligatoire(String txt)
	 {super(txt);
	}
	
	public boolean estRenseigne() {
		return ! (this.getText().equals(""));
		}
	

}
